<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div>
        <h2>新增图书</h2>
        <form action="/website/test/test2" method="post" enctype="multipart/form-data">
            <p>
                <span>书名：</span>
                <input type="text" name="title"/>
            </p>
            <p>
                <span>图书封面:</span>
                <input type="file" name="file"/>
            </p>
            <p>
                <input type="submit" value="新增"/>
            </p>
        </form>
    </div>
</body>
</html>